Handle.getDimensions

Get the SVG's size. Do not call from within the size_func callback, because an infinite loop will occur.

This function depends on the [class@Rsvg.Handle]'s DPI to compute dimensions in pixels, so you should call [method@Rsvg.Handle.set_dpi] beforehand.

More...
class Handle
void
getDimensions

Parameters

dimensionData RsvgDimensionData

A place to store the SVG's size

Detailed Description

Deprecated: Use [method@Rsvg.Handle.get_intrinsic_size_in_pixels] instead. This function is deprecated because it is not able to return exact fractional dimensions, only integer pixels.

Meta

Since

2.14